package com.filebackup.business;

import java.util.List;

import com.filebackup.vo.Vo;
import com.filebackup.vo.impl.LocalFileVo;
import com.filebackup.vo.impl.LocalFolderVo;
import com.filebackup.vo.impl.UserVo;

public interface LocalFileService {

	public List<Vo> findByFolder(int id);

	public List<Vo> findRootFile(int id);
	
	public String tracePath(int fileId);
	
	public void changeFileName(int id,String name);
	
	public Boolean isNewVersion(int id,int version);
	
	public void changeFile(int id);
	
	public void deleteFile(int id);
	
	public int addFile(LocalFileVo vo);
	
	public List<Vo> findFileByUser(int id);
	
	public List<Vo> findAllSubFile(int id);
	
	public int findNewId(LocalFileVo vo);
	
	public String returnPath(int fileId);
	
	public String findNameById(int id);
	
	public UserVo findOwnerById(int id);

}
